@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

/*font-family: "Montserrat", sans-serif;
font-family: "Fraunces", serif; */

*{
    margin: 0;
    padding: 0;
    font-family:"Montserrat", sans-serif ;
    font-size: 14px;
}

body{
    background-color: hsl(30, 38%, 92%);
    height: 100vh;
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

.container{
    height: 70%;
    width: 50%;
    background-color:hsl(0, 0%, 100%);
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    flex-flow: row ;
    justify-content:center;
    align-items: center;
    flex-shrink: 0;
}

.container .image{
    background-image: url(images/image-product-desktop.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
} 

.container .content{
    height: 90%;
    flex-basis: 100%;
    display: flex;
    flex-flow: column wrap;
    align-items: flex-start;
    justify-content: space-evenly;
    padding: 35px;
    flex-grow: 1;
}

.container .content p{
    color: hsl(228, 12%, 48%);
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
}
#first-p{
    text-transform: uppercase;
    letter-spacing: 5px;
}

#first-h1{
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 40px;
}

.container .content .price{
    display: flex;
    align-items: center;
    gap: 20px;
}

.container .content .price h2{
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 42px;
    color: hsl(158, 36%, 37%);
}

.container .content .price p{
    text-decoration-line: line-through;
}


.container .content .btn{
    background-color: hsl(158, 36%, 37%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 15px;
    gap: 15px;
    padding: 15px 0;
    margin: 15px 0;
}

.container .content .btn:hover{
    background-color: hsl(212, 21%, 14%);
    cursor: pointer;
}

.container .content .btn a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight:700;
}

.container .content .btn img{
    width: 18px;
}


@media (max-width:949px){
    .container{
        flex-flow: column;
        height: 90%;
        width: 50%;
    }
    .container .image{
        background-image: url(images/image-product-mobile.jpg);
        background-size: cover;
        background-position: top;
        height: 100%;
        width: 100%;

    }
}


